<style>
    .main-footer {
        position: fixed;
        bottom: 0;
        background-color: #f2f2f2;
        width: 100%;
        padding: 5px 15px 0 15px;
        z-index: 999;
    }
    .user-login-icon {
        position: absolute;
        right: 2px;
        top: 6px;
        width: 38px;
        line-height: 36px;
        text-align: center;
        color: #d2d2d2
    }
    .layui-laypage a, .layui-laypage span{
        background-color: #f2f2f2;
    }
</style>
<div class="layui-fluid" style="margin-bottom: 55px;">
</div>
<div class="layui-footer main-footer">
    <div id="homePage"></div>
</div>
<script>
    layui.config({
        base: '/static/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'main']);
</script>

